<!DOCTYPE HTML>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
  <title>spring-boot模版渲染</title>
  <script type="text/javascript" th:src="@{/js/main.js}"></script>
  <meta http-equiv="Content-type" content="text/html;charset=UTF-8"/>
</head>
<body>
  <p  th:text="'官方网站'+${url}"/>
  <p  th:utext="'官方网站'+${url}"/>
  <hr/>
<h2 th:text="#{welcome.url}+(1+2+3+4)"/>
<h2 th:text="#{welcome.msg('jml')}"/>
<hr/>
<a th:href="@{/show}" th:text="数据访问" />
</body>
</html>